<div class="timelineFeedPage">
  <div class="main">
    <div class="wrapper timeline">

      <h2 class="section-title">时间轴</h2>

      <div class="row" ng-hide="feedsLoading">
        <p class="text-center"><i class="fa fa-circle-o-notch fa-spin"></i> 加载中...</p>
      </div>

      <div ng-repeat="feed in feeds" ng-switch="feed.type" class="timelineLeft animated fadeIn" ng-show="feedsLoading">
        <p><strong>{{feed._user.name}}</strong></p>
        <p ng-switch-when="document">
          上传了项目工程资料 {{feed.message}}
        </p>
        <p ng-switch-when="report">
          提交了工作报告 {{feed.message}}
        </p>
        <p ng-switch-when="project">
          创建了新的工程项目 {{feed.message}}
        </p>
        <p ng-switch-when="share">
          共享了文件 {{feed.message}}
        </p>
        <em class="text-muted" style="font-size: 12px"><span am-time-ago="feed.created_at"></span></em>
      </div>

      <div class="time-line-last timelineCenter" ng-show="feedsLoading">
        <a class="btn btn-lg load-more-btn" ng-click="loadMore()">LOAD MORE</a>
      </div>
    </div>
  </div>
</div>
